-
Notifications
You must be signed in to change notification settings - Fork 25.5k
Improved the documentation for cat indices API #136329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Pinging @elastic/search-relevance (Team:Search - Relevance) |
Pinging @elastic/core-docs (Team:Docs) |
Hey @mridula-s109! I think we need to make these changes in the The file would be https://github.com/elastic/elasticsearch-specification/blob/main/specification/cat/indices/CatIndicesRequest.ts#L25
|
@leemthompo thanks for the guidance. i will have a look at it and create a new PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed on the specification PR requirement, but I feel that instead of this change, we could also add a clarifying note on the API Markdown docs. This definitely isn't the place to document it though.
@kderusso you mean adding something on this page too https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/semantic-text? Yep that sounds right. |
Yep! Thanks @leemthompo - @mridula-s109 would you please update this PR accordingly? |
Yes @kderusso , thanks for the comment. I will update the current PR to update the semantic text doc accordingly and also another new PR for the specification repo. |
Summary
_cat/indices
documentation to state thatdocs.count
is taken directly from Lucenesemantic_text
)_cat/count
and_count
when they need the logical/top-level document count insteadGithub issue - #127354